import singleElement from "./single";
const calendar = document.querySelector('.calendar')
const createYearPanel = ()=>{
    const main = document.createElement('main');
    main.innerHTML = `
                <table class="year-body">
                    <tr>
                        <td>1月</td>
                        <td>2月</td>
                        <td>3月</td>
                    </tr>
                    <tr>
                        <td>4月</td>
                        <td>5月</td>
                        <td>6月</td>
                    </tr>
                    <tr>
                        <td>7月</td>
                        <td>8月</td>
                        <td>9月</td>
                    </tr>
                    <tr>
                        <td>10月</td>
                        <td>11月</td>
                        <td>12月</td>
                    </tr>
                </table>
            `
    main.style.display = 'none';
    calendar.appendChild(main);
    return main;
}
const createSingleYearPanel = singleElement(createYearPanel)
export {createSingleYearPanel}